package cn.wsalix.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component("existException")
@Data
@EqualsAndHashCode(callSuper = false)
public class ExistException {
	@Value("${code.exist}")
	private String codeExist;
	
	@Value("${address.unexist}")
	private String addressUnExist;
}
